﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TVersityDotNet.HelperTypes
{
    /// <summary>
    /// Class reresenting a TVersity service
    /// </summary>
    public class TVService
    {
        /// <summary>
        /// The Service type
        /// </summary>
        public string ServiceType { get; set; }
        /// <summary>
        /// The Service ID
        /// </summary>
        public string ServiceId { get; set; }
        /// <summary>
        /// The ScpdUrl
        /// </summary>
        public Uri ScpdUrl { get; set; }
        /// <summary>
        /// The Control Url
        /// </summary>
        public Uri ControlUrl { get; set; }
        /// <summary>
        /// The Event sub url
        /// </summary>
        public Uri EventSubUrl { get; set; }

        /// <summary>
        /// Constructor for Tversity service
        /// </summary>
        /// <param name="serviceType"></param>
        /// <param name="serviceId"></param>
        /// <param name="scpdUrl"></param>
        /// <param name="controlUrl"></param>
        /// <param name="eventSubUrl"></param>
        public TVService(string serviceType, string serviceId, Uri scpdUrl, Uri controlUrl, Uri eventSubUrl)
        {
            this.ServiceType = serviceType;
            this.ServiceId = serviceId;
            this.ScpdUrl = scpdUrl;
            this.ControlUrl = controlUrl;
            this.EventSubUrl = eventSubUrl;
        }    
    }
}